.p-4 {
  margin: -15px;
}

.p-8 {
  padding: 10px;
}

.after-create-view {
  position: relative;

  .back-btn {
    position: absolute;
    left: 10px;
    bottom: 60px;
    z-index: 999;
    border-radius: 50%;

    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #abbacc;
    cursor: pointer;

    color: white;
    overflow: hidden;
    &:hover {
      background: #1296bdcc;
    }
  }
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;

  .title {
    font-size: 14px;
    padding: 4px 12px;
    text-align: left;
    background: #fafafa;
    border: 1px solid #d9d9d9;
    min-width: 80px;
  }

  .input-group {
    display: flex;
    align-items: center;
    justify-content: flex-end;

    span {
      font-weight: 600;
    }
  }
}

.text-sql {
  display: flex;
  align-items: center;
  flex-direction: column;
  width: 100%;
}

.custom-card {
  border: 1px solid #999999;
  border-radius: 12px;
  line-height: 30px;

  &:hover {
    border: 1px solid #1890ff;
    background-color: #1890ff;
    color: #ffffff;
    cursor: pointer;
  }

  :deep(.ant-card-body) {
    padding: 6px 14px;
  }
}

.active-card {
  border: 1px solid #1890ff;
  background-color: #1890ff;
  color: #ffffff;
  cursor: pointer;
}

.select-src {
  width: 100%;
  display: flex;
  align-items: center;

  .title {
    font-size: 14px;
    padding: 4px 12px;
    text-align: left;
    background: #fafafa;
    border: 1px solid #d9d9d9;
    min-width: 80px;
  }
}

.content {
  width: 100%;

  background-color: white;

  .panel {
    overflow-y: scroll;

    :deep(.ant-card) {
      border: 1px solid #cccccc;
    }
  }

  .cate-card {
    :deep(.ant-card-body) {
      padding: 14px 24px;
    }
  }

  .custom {
    width: 80%;
    margin: auto;

    :deep(.anticon-check-circle) {
      color: #0960bd;
    }

    .ant-input-group-wrapper {
      margin-top: 6px;
      margin-bottom: 6px;
    }

    :deep(.ant-input-group-addon) {
      min-width: 80px;
      text-align: left;
    }
  }
}

.help-docs {
  margin-top: 20px;
  padding: 12px 20px;
}
